package com.clh.seckill.utils;

import java.util.UUID;

/**
 * @Author cailinhu
 * @Description TODO
 * @Date 2021-10-28 15:41
 * @Version 1.0
 */
public class UUIDUtil {
    public static String uuid() {
        return UUID.randomUUID().toString().replace("-", "");
    }
    public static Long uuidLong(){
        return Math.abs(UUID.randomUUID().getLeastSignificantBits());
    }
}
